<!DOCTYPE html>
<html class="root platform-win" lang="zh"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta charset="UTF-8">
  <title>写新章节 - 作者中心 | 火星小说</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="http://author.hotread.com/favicon.ico" rel="shortcut icon">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <link rel="stylesheet" href="/css/normalize.css">
  <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/works.css">
</head>
<body>
  <header class="header">
  <div class="container">
    <a class="slogan" href="/">
      <img src="/image/slogan.png" alt="">
    </a>
    <span class="user">
      <a href="{{url('auth/logout')}}">退出登陆</a>
    </span>
  </div>
</header>

  <div class="container">
    <div class="nav">
  <h4>作者中心</h4>
  <ul>
    <li class="item active"><a href="{{url('work')}}">作品列表</a></li>
     <li class="item"><a href="{{url('subscribe')}}">订阅收入</a></li>
     <li class="item"><a href="{{url('reward')}}">打赏收入</a></li>
     <li class="item"><a href="{{url('comments')}}">评论管理</a></li>
     <li class="item"><a href="{{url('authorset')}}">个人设置</a></li>
  </ul>
</div>
    <div class="writeNewSection fl" id="write">
  <div class="right-header-haveback">
    <p class="hint wryh-font">
      <a href="{{url('work')}}" class="back">作品列表</a>
      <span class="back">{{$novel->title}}</span>
      <span>写新章节</span>
    </p>
  </div>
  <div class="main-nav">
    <a href="{{url('chapteradd' , $nid)}}" class="active">写新章节</a>
    <a href="{{url('draft' , $nid)}}">草稿箱</a>
    <a href="{{url('published' , $nid)}}">已发布章节</a>
    <a href="{{url('novelset' , $nid)}}">作品设置</a>
  </div>


        <form action="" method="post" class="writeNewSection-main" accept-charset="utf-8">
        {!!csrf_field()!!}
            <div class="section-title">
                    <label class="label must" >章节标题:</label>
                    <div class="title all-input-box">
                        <input maxlength="30" type="text" name="chtitle">
                    </div>
            </div>

            <div class="section-text">
              <span class="label must">章节正文</span>
              <div class="text-box all-input-box">
                  <textarea name="content"></textarea>
              </div>
              <p class="hint-num">字数限制：200-8000字&nbsp;&nbsp;&nbsp;当前字数：0</p>
            </div>

            <div class="section-send">

              <input type="submit" class="btn private" value="添加章节" onclick="javascript:this.form.action='{{url('chapteradd' , $nid)}}';" >
            </div>

            <div class="section-send">
              <input type="submit" class="btn private" value="保存到草稿箱" onclick="javascript:this.form.action='{{url('draftadd' , $nid)}}';">
            </div>
        </form>

</div>
<script src="/js/vue.js"></script>

<script src="/js/vue-resource.js"></script>

<link rel="stylesheet" href="/css/jquery.css">
<script src="/js/jquery_002.js"></script>
<script src="/js/jquery.js"></script>

</body></html>
